<template>
  <el-container>
    <el-header style="background-color: dodgerblue;color: white;height:60px;line-height: 60px">体育教学管理平台</el-header>
    <el-container>
      <el-aside width="200px">
        <el-menu
            class="el-menu-vertical-demo" router>
          <el-menu-item index="1" :index="'/user'">
              <i class="el-icon-location"></i>
              <span>人事模块</span>
          </el-menu-item>
          <el-submenu index="2">
            <template slot="title">
              <i class="el-icon-location"></i>
              <span>课程模块</span>
            </template>
            <el-menu-item-group>
              <el-menu-item index="1-1" :index="'/course'">课程管理</el-menu-item>
            </el-menu-item-group>
            <el-menu-item-group>
              <el-menu-item index="1-3" :index="'/courseResult'">选课管理</el-menu-item>
            </el-menu-item-group>
          </el-submenu>
          <el-submenu index="3">
            <template slot="title">
              <i class="el-icon-location"></i>
              <span>关系模块</span>
            </template>
            <el-menu-item-group>
              <el-menu-item index="1-1" :index="'/relation'">关系管理</el-menu-item>
            </el-menu-item-group>
            <el-menu-item-group>
              <el-menu-item index="1-3" :index="'/relationResult'">人事关系管理</el-menu-item>
            </el-menu-item-group>
          </el-submenu>
          <el-submenu index="4">
            <template slot="title">
              <i class="el-icon-location"></i>
              <span>奖励管理</span>
            </template>
            <el-menu-item-group>
              <el-menu-item index="1-1" :index="'/reward'">奖励管理</el-menu-item>
            </el-menu-item-group>
            <el-menu-item-group>
              <el-menu-item index="1-3" :index="'/rewardResult'">人事奖励管理</el-menu-item>
            </el-menu-item-group>
          </el-submenu>
        </el-menu>
      </el-aside>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
export default {
  name: "home"
}
</script>

<style lang="less" scoped>

</style>
